var runtime.maxstacksize
12 uses
runtime (current package)
proc.go#L160: maxstacksize = 1000000000
proc.go#L162: maxstacksize = 250000000
proc.go#L168: maxstackceiling = 2 * maxstacksize
rdebug.go#L11: out = int(maxstacksize)
rdebug.go#L12: maxstacksize = uintptr(in)
stack.go#L558: var maxstacksize uintptr = 1 << 20 // enough until runtime.main sets it for real
stack.go#L560: var maxstackceiling = maxstacksize
stack.go#L1171: if newsize > maxstacksize || newsize > maxstackceiling {
stack.go#L1172: if maxstacksize < maxstackceiling {
stack.go#L1173: print("runtime: goroutine stack exceeds ", maxstacksize, "-byte limit\n")
stack.go#L1422: if avg > uint64(maxstacksize) {
stack.go#L1423: avg = uint64(maxstacksize)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |